<!DOCTYPE HTML>
<html>
<head>
  <!--_meta 作为公共模版分离出去-->
  <% layout("/common/_meta.html",{title:"个人信息"}){} %>
  <!--_meta 作为公共模版分离出去-->
</head>
<body>
  <div class="clearfix pd-20" style=" background-color:#5bacb6">
    <dl style="margin-left:80px; color:#fff">
      <dt><span class="f-18">${user.name}</span> <span class="pl-10 f-12"></span></dt>
      <dd class="pt-10 f-12" style="margin-left:0">${user.company}</dd>
    </dl>
  </div>
  <div class="pd-20">
    <table class="table">
      <tbody>
        <tr>
          <th class="text-r" width="80">账号：</th>
          <td>${user.username}</td>
        </tr>
        <tr>
          <th class="text-r">手机：</th>
          <td>${user.phone}</td>
        </tr>
        <tr>
          <th class="text-r">注册时间：</th>
          <td>${user.createTime,"yyyy-MM-dd"}</td>
        </tr>
        <tr>
          <th class="text-r">微信id：</th>
          <td>${user.wechatId}</td>
        </tr>
        <tr>
          <th colspan="2">
            <div class="line"></div>
          </th>
        </tr>
        <tr>
          <th class="text-r">商户：</th>
          <td>${department.name!}<br><span class="c-999">${department.description!}</span></td>
        </tr>
        <tr>
          <th colspan="2">
            <div class="line"></div>
          </th>
        </tr>
        <tr>
          <th class="text-r">角色：</th>
          <td>
            <%for(role in roles){%>
              ${role.name!} <span class="c-999">${role.description!}</span><br>
            <%}%>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
  <!--_footer 作为公共模版分离出去-->
  <% layout("/common/_footer.html"){} %>
  <!--/_footer 作为公共模版分离出去-->
</body>
</html>
